package AST;

public class FuncDef extends CompoundStmt {
	private SPyName name;
	private Parameters parameters;
	private Suite suite;

	public FuncDef(SPyName name, Parameters parameters, Suite suite) {
		print();
		this.name = name;
		this.parameters = parameters;
		this.suite = suite;
	}

	public FuncDef() {
		print();
	}

	public SPyName getName() {
		return name;
	}

	public void setName(SPyName name) {
		this.name = name;
	}

	public Parameters getParameters() {
		return parameters;
	}

	public void setParameters(Parameters parameters) {
		this.parameters = parameters;
	}

	public Suite getSuite() {
		return suite;
	}

	public void setSuite(Suite suite) {
		this.suite = suite;
	}

	public void print() {
		System.out.println("FuncDef");
	}

	public void genC(PW pw) {
		// funcdef: 'def' NAME parameters ':' suite

	}

}
